package net.hn.hnms.biz.mine.domain;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "video_config", schema = "public", catalog = "huaneng-smart-mine")
@ApiModel("视频配置表")
@Data
public class VideoConfig extends BaseModel implements Serializable {

    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "摄像头编码")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String cameraCode;

    @ApiModelProperty(value = "视频区域")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String videoRegion;

    @ApiModelProperty(value = "是否重点视频")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String important;

}
